//------------------------------------------------------------------------------------------------- 
// <copyright file="SA1109BlockStatementsMustNotContainEmbeddedRegions.cs" company="StyleCop for ReSharper Development Team">
// Copyright (c) .  All rights reserved.
// </copyright>
// <summary>Defines the SA1109BlockStatementsMustNotContainEmbeddedRegions type.</summary>
//-------------------------------------------------------------------------------------------------

namespace StyleCop.For.ReSharper.TestProject.Readability
{
    #region Using Directives

    using System;

    #endregion

    /// <summary>
    /// Example file for SA1109BlockStatementsMustNotContainEmbeddedRegions.
    /// </summary>
    [Serializable]
    public class SA1109BlockStatementsMustNotContainEmbeddedRegions
    {
        #region Constructors

        /// <summary>
        /// Initializes a new instance of the SA1109BlockStatementsMustNotContainEmbeddedRegions class.
        /// </summary>
        public SA1109BlockStatementsMustNotContainEmbeddedRegions()

        #region This should be removed

        {
            var value1 = "value1";
            var value2 = "value2";
            var value3 = "value3";
            Console.WriteLine(string.Concat(value1, value2, value3));
        }

        #endregion

        #endregion

        #region Public Methods

        public bool Method1(string arg1)
        {
            if (string.IsNullOrEmpty(arg1))

            #region This region is not allowed here.

            {
                return false;
            }

            #endregion

            return true;
        }

        #endregion
    }
}